package com.richest.api.controller.form;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModelProperty;

/**
 * 子订单预定商品信息表单
 *
 * @author 杨博
 */
public class OrderSubCommodityForm {

	@ApiModelProperty(value = "桌包房id")
	@NotBlank(message = "不能为空，没有预定则为0")
	private Long banquet_id;

	@ApiModelProperty(value = "商品id")
	@NotBlank(message = "不能为空")
	private Long commodity_id;

	@ApiModelProperty(value = "商品数量")
	@NotBlank(message = "不能为空")
	private Integer commodity_number;

	@ApiModelProperty(value = "价钱")
	@NotBlank(message = "不能为空")
	private Double price;

	@ApiModelProperty(value = "是否参与满减商品")
	@NotBlank(message = "不能为空")
	private Boolean is_full_reduction;

	@ApiModelProperty(value = "是否特价商品")
	@NotBlank(message = "不能为空")
	private Boolean is_spedal_offer;

	@ApiModelProperty(value = "是否退单")
	@NotBlank(message = "不能为空")
	private Boolean is_return;

	public final Long getBanquet_id() {
		return banquet_id;
	}

	public final void setBanquet_id(Long banquet_id) {
		this.banquet_id = banquet_id;
	}

	public final Long getCommodity_id() {
		return commodity_id;
	}

	public final void setCommodity_id(Long commodity_id) {
		this.commodity_id = commodity_id;
	}

	public final Integer getCommodity_number() {
		return commodity_number;
	}

	public final void setCommodity_number(Integer commodity_number) {
		this.commodity_number = commodity_number;
	}

	public final Double getPrice() {
		return price;
	}

	public final void setPrice(Double price) {
		this.price = price;
	}

	public final Boolean getIs_full_reduction() {
		return is_full_reduction;
	}

	public final void setIs_full_reduction(Boolean is_full_reduction) {
		this.is_full_reduction = is_full_reduction;
	}

	public final Boolean getIs_spedal_offer() {
		return is_spedal_offer;
	}

	public final void setIs_spedal_offer(Boolean is_spedal_offer) {
		this.is_spedal_offer = is_spedal_offer;
	}

	public final Boolean getIs_return() {
		return is_return;
	}

	public final void setIs_return(Boolean is_return) {
		this.is_return = is_return;
	}

}
